﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tpl.Domain.Efxt;

namespace Tpl.Domain.Entities
{
    /// <summary>
    /// 作者
    /// </summary>
    public class Author : AggregateRoot<string>
    {
        public string Name { get; set; }
        public DateTime Birthday { get; set; }
        public virtual ICollection<Book>? Books { get; set; } // 作者写的书
    }
}
